package com.cfets.annualAssessment.entity;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.Table;

/**
 * Created by ShenYiChou on 2017/1/24.
 */
@Data
@Table(name = "t_organization")
public class Organization extends BaseEntity{
    @NotEmpty(message = "机构代码不能为空")
    private String org_code;
    @NotEmpty(message = "机构名称不能为空")
    private String org_name;
    @NotEmpty(message = "机构名称不能为空")
    private String org_state;
}
